import 'package:flutter/material.dart';

class MyBtn extends StatelessWidget {
  const MyBtn({Key? key, required this.text, required this.click})
      : super(key: key);
  final String text;
  final VoidCallback click;

  @override
  Widget build(BuildContext context) {
    return ElevatedButton(onPressed: click, child: Text(text));
  }
}
